package com.ks.phone.responseBean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

public class CustomerList {

    @JSONField(name = "list")
    private ListDTO list;

    public ListDTO getList() {
        return list;
    }

    public void setList(ListDTO list) {
        this.list = list;
    }

    public static class ListDTO {
        @JSONField(name = "total")
        private Integer total;
        @JSONField(name = "per_page")
        private Integer perPage;
        @JSONField(name = "current_page")
        private Integer currentPage;
        @JSONField(name = "last_page")
        private Integer lastPage;
        @JSONField(name = "data")
        private List<DataDTO> data;

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getPerPage() {
            return perPage;
        }

        public void setPerPage(Integer perPage) {
            this.perPage = perPage;
        }

        public Integer getCurrentPage() {
            return currentPage;
        }

        public void setCurrentPage(Integer currentPage) {
            this.currentPage = currentPage;
        }

        public Integer getLastPage() {
            return lastPage;
        }

        public void setLastPage(Integer lastPage) {
            this.lastPage = lastPage;
        }

        public List<DataDTO> getData() {
            return data;
        }

        public void setData(List<DataDTO> data) {
            this.data = data;
        }

        public static class DataDTO {
            @JSONField(name = "id")
            private Integer id;
            @JSONField(name = "cid")
            private Integer cid;
            @JSONField(name = "uid")
            private Integer uid;
            @JSONField(name = "status")
            private Integer status;
            @JSONField(name = "second")
            private Integer second;
            @JSONField(name = "tape")
            private String tape;
            @JSONField(name = "addtime")
            private String addtime;
            @JSONField(name = "phone")
            private String phone;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public Integer getCid() {
                return cid;
            }

            public void setCid(Integer cid) {
                this.cid = cid;
            }

            public Integer getUid() {
                return uid;
            }

            public void setUid(Integer uid) {
                this.uid = uid;
            }

            public Integer getStatus() {
                return status;
            }

            public void setStatus(Integer status) {
                this.status = status;
            }

            public Integer getSecond() {
                return second;
            }

            public void setSecond(Integer second) {
                this.second = second;
            }

            public String getTape() {
                return tape;
            }

            public void setTape(String tape) {
                this.tape = tape;
            }

            public String getAddtime() {
                return addtime;
            }

            public void setAddtime(String addtime) {
                this.addtime = addtime;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            @Override
            public String toString() {
                return "DataDTO{" +
                        "id=" + id +
                        ", cid=" + cid +
                        ", uid=" + uid +
                        ", status=" + status +
                        ", second=" + second +
                        ", tape='" + tape + '\'' +
                        ", addtime='" + addtime + '\'' +
                        ", phone='" + phone + '\'' +
                        '}';
            }
        }
    }
}
